package com.logic.landseaserver.service;

import java.io.InputStream;
import java.util.List;

import javax.servlet.http.HttpServletResponse;

import com.logic.common.exception.BusinessException;
import com.logic.common.service.ICRUDService;
import com.logic.common.util.QueryUtil;
import com.logic.landseaserver.common.exception.LandseaBusinessException;
import com.logic.landseaserver.domain.Expenses;
import com.logic.landseaserver.ws.dto.ExpensesDTO;
import com.logic.landseaserver.ws.dto.ReadMeterTimeDTO;

public interface IExpensesService extends ICRUDService {
    ExpensesDTO getDTO(Integer id) throws BusinessException;

    List<ExpensesDTO> queryDTO(QueryUtil queryUtil);

    void downloadTemplate(HttpServletResponse response, Integer projectId, String expnseType);

    void batchInsert(List<Expenses> list) throws BusinessException;

    void batchInertMonthly() throws BusinessException;

    ReadMeterTimeDTO importFee(InputStream file) throws BusinessException;

    void batchInsertDingxinDate(String date) throws LandseaBusinessException;

    void backupexpenses();

    void batchInsertDingxinDatePrj(Object object)throws LandseaBusinessException;
}
